﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Dict.aspx.cs" Inherits="SF.Dict.Web.Dict" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
	<title>
		<asp:Literal runat="server" ID="ll_title"></asp:Literal></title>
	<script type="text/javascript" src="/Common/jquery-1.3.2.js"></script>
	<script type="text/javascript" src="/Common/base.js"></script>
	<script type="text/javascript" src="/Common/dict.js"></script>
	<link href="/Common/base.css" rel="stylesheet" type="text/css" />
	<link href="/Common/dict.css" rel="stylesheet" type="text/css" />
</head>
<body class="page-dict">
	<form id="form1" runat="server">
	<div id="wrap">
		<div id="control_panel">
			<a class="action" title="页面设置">页面设置</a> <a class="action" title="点击关注">关注</a> <a
				class="action" title="返回首页" href="/home.aspx">返回首页</a>
		</div>
		<div id="container">
			<div id="dict">
				<div class="content-holder">
					<div class="spell">
						<asp:Label CssClass="spell"
							ID="lbl_spell" runat="server"></asp:Label>
						<asp:Label CssClass="pron"
							ID="lbl_pron" runat="server"></asp:Label>
					</div>
					<div class="content">
						<div id="preview">
							<asp:Literal ID="ltl_paraphrase" runat="server"></asp:Literal>
						</div>
					</div>
					<div class="info">
						<p>
							<span class="notesTag">
								<asp:Label runat="server" ID="lbl_commentcount"></asp:Label>
								心得</span>
						</p>
					</div>
				</div>
				<div id="comments-container">
					<div id="commentbox">
						<h3>说点啥<span>(就说可以帮助自己记忆的)</span></h3>
						<textarea cols="30" rows="4" id="commentarea"></textarea>
						<div style="margin-top: 3px;" id="div_commentbtn">
							<a class="action" id="submit">提交</a>
						</div>
					</div>
					<div class="comments" id="ch_<%=Did %>">
						<asp:Repeater ID="rp_comments" runat="server">
							<ItemTemplate>
								<div class="item clearfix" id="ct_<%#Eval("Cid") %>">
									<div class="relative">
										<a href="/user.aspx?uid=<%#Eval("Uid") %>" target="_blank" class="avatar">
											<img alt="" src="<%#Eval("avatar")%>" /></a><div class="info">
												<a target="_blank" href="/user.aspx?uid=<%#Eval("Uid") %>">
													<%#Eval("Author")%></a> &nbsp;&nbsp; <span>
														<%#EncodeToHtml(Eval("Content").ToString())%></span>
											</div>
										<div data-id="<%#Eval("Cid")%>" class="replay-action">
											<%#Eval("UserId").ToString() == UserId ? "<a  id='ct_" + Eval("Cid") + "_o'  class='action'>删除</a>" : "<a class='action'>屏蔽</a>"%>
											<a class="action" data-uid="<%#Eval("Uid") %>" data-name="<%#Eval("Author") %>">回复<%#Eval("ChildCount").ToString() == "0" ? "" : "(<span id='ct_" + Eval("Cid") +"_review_c'>" + Eval("ChildCount") + "</span>)"%></a>
										</div>
									</div>
									<div id="ct_<%#Eval("Cid") %>_review" class="review hide">
									</div>
								</div>
							</ItemTemplate>
						</asp:Repeater>
					</div>
				</div>
			</div>
		</div>
		<div id="minipop-holder" class="hide">
			<div id="minipop-action" class="minipop">
				<div class="gray6">
					<div id="minipop-tip">
					</div>
				</div>
				<div class="btn-holder">
					<span><a id="minipop-submit" class="action">确定</a></span>&nbsp;&nbsp; <span><a id="minipop-cancel"
						class="action">取消</a> </span>
				</div>
			</div>
			<div id="minipop-hint" class="minipop hide">
				<div class="gray6">
					<div id="minipop-hint-tip">
					</div>
				</div>
			</div>
		</div>
		<asp:HiddenField runat="server" ID="hf_did" />
		<div id="footer">
			<a href="/home.aspx">挚友云海</a>&copy;2011 <a target="_blank" href="http://www.miibeian.gov.cn/"
				class="aside-dd-last">京ICP备10217266号</a>
		</div>
	</div>
	<p id="back-to-top">
		<a href="#wrap"><span></span>返回顶部</a></p>
	</form>
</body>
</html>
